package com.example.tijianserver.controller;

import java.util.List;

import com.example.tijianserver.pojo.CiDetailedReport;
import com.example.tijianserver.service.CiDetailedReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;



@RestController
@RequestMapping("/ciDetailedReport")
public class CiDetailedReportController {

	@Autowired
	private CiDetailedReportService ciDetailedReportService;

	@RequestMapping("/updateCiDetailedReport")
	public int updateCiDetailedReport(@RequestBody List<CiDetailedReport> list) {
		System.out.println("/updateCiDetailedReport参数"+list);
		Integer num=ciDetailedReportService.updateCiDetailedReport(list);
		System.out.println("/updateCiDetailedReport结果"+num);
		return ciDetailedReportService.updateCiDetailedReport(list);
	}
}
